package com.chengqs.dfs.namenode.server;

/**
 * <B>主类名称：</B>EditLogFactory<BR>
 * <B>概要说明：</B>生成editLog内容的工厂类<BR>
 *
 * @author: chengqs
 * @create: 2025-07-30 22:47:27
 **/
public class EditLogFactory {

    public static String mkdir(String path) {
        return "{'OP':'MKDIR','PATH':'" + path + "'}";
    }

    public static String create(String path) {
        return "{'OP':'CREATE','PATH':'" + path + "'}";
    }
}
